package com.stylefeng.guns.modular.system.dao;

import com.stylefeng.guns.modular.system.model.CmsUserDemand;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author stylefeng
 * @since 2018-10-24
 */
public interface CmsUserDemandMapper extends BaseMapper<CmsUserDemand> {

    public Map<String,Object> selectByUserId(Long userId);



    List<Map<String,Object>> getUserList(Integer id);
    
    public Map<String ,Object> getDemandInfoByDetail(@Param("detail") String detail,@Param("userId") Long userId);

}
